using System.ComponentModel.DataAnnotations;

namespace Traceability.Domain
{
    /// <summary>
    /// 企业信息实体
    /// </summary>
    public class CompanyInfo : BaseEntity
    {
        /// <summary>
        /// 企业
        /// </summary>
        [Key]
        public int CompanyId { get; set; }

        /// <summary>
        /// 公司名称
        /// </summary>
        public string CompanyName { get; set; } = string.Empty;

        /// <summary>
        /// 公司地址
        /// </summary>
        public string CompanyAddress { get; set; } = string.Empty;

        /// <summary>
        /// 成立时间
        /// </summary>
        public DateTime EstablishmentDate { get; set; }

        /// <summary>
        /// 公司简介
        /// </summary>
        public string CompanyDescription { get; set; } = string.Empty;

        /// <summary>
        /// 生产批次
        /// </summary>
        public string ProductionBatch { get; set; } = string.Empty;
    }
} 